{% extends "pages/auth/_layout.html" %} {% from "components/macros.html" import submit_button %} {% from "components/auth_macros.html" import auth_field, auth_banner %} {% block title %}Reset your password - {{ project_name }}{% endblock %} {% block auth_form %}

Reset your password

Enter your email and we'll send a reset link.

{# Posts through fetch rather than a native submit: there is no password here, so there is no save-password prompt to preserve, and staying on the page lets the same view show the confirmation. #}
{{ auth_banner("sent", tone="ok") }} {{ auth_banner("error") }} {{ auth_field("email", "Email", type="email", autocomplete="username", placeholder="you@domain.com") }} {{ submit_button("Send reset link", "Sending…") }}
{% endblock %} {% block auth_footer %} Remembered it? Sign in. {% endblock %}